package com.egdk.api.mapp;

import com.egdk.api.entity.PatientEntity;
import com.egdk.api.entity.PatientEntityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatientEntityMapper {
    long countByExample(PatientEntityExample example);

    int deleteByExample(PatientEntityExample example);

    int deleteByPrimaryKey(Integer patientid);

    int insert(PatientEntity record);

    int insertSelective(PatientEntity record);

    List<PatientEntity> selectByExample(PatientEntityExample example);

    PatientEntity selectByPrimaryKey(Integer patientid);

    int updateByExampleSelective(@Param("record") PatientEntity record, @Param("example") PatientEntityExample example);

    int updateByExample(@Param("record") PatientEntity record, @Param("example") PatientEntityExample example);

    int updateByPrimaryKeySelective(PatientEntity record);

    int updateByPrimaryKey(PatientEntity record);
}